//Source file: D:\\test\\com\\ce\\pms\\custservice\\dao\\ICustServiceEventDao.java

package com.ce.pms.custservice.dao;

import java.util.List;

import com.ce.pms.base.dao.IPmsBaseDao;
import com.ce.pms.custservice.model.CustServiceEventDO;
import com.ce.pms.custservice.vo.CustServiceEventSearchVO;
import com.ce.pms.custservice.vo.CustServiceEventVO;
import com.sitechasia.webx.core.support.Page;

/***
 * 客户事件DAO
 * @author 高嵩
 *
 */
public interface ICustServiceEventDao extends IPmsBaseDao<CustServiceEventDO>{

	/***
	 * 功能描述:  查询客服事件列表<br>
	 * @param custServiceEventSearchVO
	 * @return List<CustServiceEventVO>
	 * @roseuid 494329B00399
	 * Create author:高嵩 <br>
	 * Create on:2008-12-23  <br>
	 * Edit author:  <br>
	 * Edit on:    <br>
	 * Why:     <br>
	 */

	public List<CustServiceEventDO> queryCustServEventList(CustServiceEventSearchVO custServiceEventSearchVO);

	/***
	 * 功能描述: 按页查询客服事件 <br>
	 * @param custServiceEventSearchVO
	 * @return
	 * Create author:高嵩 <br>
	 * Create on:2008-12-23  <br>
	 * Edit author:  <br>
	 * Edit on:    <br>
	 * Why:     <br>
	 */

	public Page queryCustServEventByPage(CustServiceEventSearchVO custServiceEventSearchVO) ;

	/***
	 * 功能描述:  查询关联事件<br>
	 * @param custServiceEventSearchVO
	 * @return List<CustServiceEventVO>
	 * @roseuid 494345BF0128
	 * Create author:高嵩 <br>
	 * Create on:2008-12-23  <br>
	 * Edit author:  <br>
	 * Edit on:    <br>
	 * Why:     <br>
	 */

	public List<CustServiceEventVO> queryAssociatedCSEventList(CustServiceEventSearchVO custServiceEventSearchVO);

	/***
	 * 功能描述: 分页查询关联事件 <br>
	 * @param custServiceEventSearchVO
	 * @return Page
	 * @roseuid 4943693E032C
	 * Create author:高嵩 <br>
	 * Create on:2008-12-23  <br>
	 * Edit author:  <br>
	 * Edit on:    <br>
	 * Why:     <br>
	 */

	public Page queryAssociatedCSEventByPage(CustServiceEventSearchVO custServiceEventSearchVO);



	/***
	 * 功能描述:  获取数据库事件编号最大值<br>
	 * @return
	 * Create author:yandawei <br>
	 * Create on:2008-12-17  <br>
	 * Edit author:  <br>
	 * Edit on:    <br>
	 * Why:     <br>
	 */
	String getMaxCustomerServiceEventCodeFromDB();
}
